home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / pc / vikingw.dir / 01651_Script_Clothes < prev    next >
Text File  |  1995-09-12  |  9KB  |  256 lines

  1. global gbeenclicked, gQuest
  2.  
  3. on VClothesRollovers1
  4.   set gbeenclicked = 0
  5.   if (not(CheckClickedStatus(gQuest))) then
  6.     if rollover(6) then
  7.       repeat while rollover(6)
  8.         puppetsprite 7, true
  9.         set the locH of sprite 7 to 291
  10.         set the locV of sprite 7 to 109
  11.         updatestage
  12.       end repeat
  13.       set the locH of sprite 7 to 999
  14.       updatestage
  15.       puppetsprite 7, false
  16.     else
  17.       if rollover(8) then
  18.         repeat while rollover(8)
  19.           puppetsprite 9, true
  20.           set the locH of sprite 9 to 405
  21.           set the locV of sprite 9 to 353
  22.           updatestage
  23.         end repeat
  24.         set the locH of sprite 9 to 999
  25.         updatestage
  26.         puppetsprite 9, false
  27.       else
  28.         if rollover(10) then
  29.           repeat while rollover(10)
  30.             puppetsprite 11, true
  31.             set the locH of sprite 11 to 388
  32.             set the locV of sprite 11 to 288
  33.             updatestage
  34.           end repeat
  35.           set the locH of sprite 11 to 999
  36.           updatestage
  37.           puppetsprite 11, false
  38.         else
  39.           if rollover(12) then
  40.             repeat while rollover(12)
  41.               puppetsprite 13, true
  42.               set the locH of sprite 13 to 402
  43.               set the locV of sprite 13 to 253
  44.               updatestage
  45.             end repeat
  46.             set the locH of sprite 13 to 999
  47.             updatestage
  48.             puppetsprite 13, false
  49.           else
  50.             if rollover(14) then
  51.               repeat while rollover(14)
  52.                 puppetsprite 15, true
  53.                 set the locH of sprite 15 to 297
  54.                 set the locV of sprite 15 to 140
  55.                 updatestage
  56.               end repeat
  57.               set the locH of sprite 15 to 999
  58.               updatestage
  59.               puppetsprite 15, false
  60.             else
  61.               if rollover(16) then
  62.                 repeat while rollover(16)
  63.                   puppetsprite 17, true
  64.                   set the locH of sprite 17 to 417
  65.                   set the locV of sprite 17 to 213
  66.                   updatestage
  67.                 end repeat
  68.                 set the locH of sprite 17 to 999
  69.                 updatestage
  70.                 puppetsprite 17, false
  71.               else
  72.                 if rollover(18) then
  73.                   VikingCursor
  74.                   repeat while rollover(18)
  75.                     puppetsprite 19, true
  76.                     set the locH of sprite 19 to 324
  77.                     set the locV of sprite 19 to 317
  78.                     updatestage
  79.                     if (the mousedown) then
  80.                       set gbeenclicked = 1
  81.                     else
  82.                       -- the mouse is up
  83.                       if gbeenclicked = 1 then
  84.                         repeat while gbeenclicked = 1
  85.                           AnimateLoop 18, 756, 3, "SV200800.AIF", 1
  86.                         end repeat
  87.                       end if
  88.                     end if
  89.                   end repeat
  90.                   set the locH of sprite 19 to 999
  91.                   updatestage
  92.                   puppetsprite 19, false
  93.                 else
  94.                   if rollover(20) then
  95.                     repeat while rollover(20)
  96.                       puppetsprite 21, true
  97.                       set the locH of sprite 21 to 480
  98.                       set the locV of sprite 21 to 265
  99.                       updatestage
  100.                     end repeat
  101.                     set the locH of sprite 21 to 999
  102.                     updatestage
  103.                     puppetsprite 21, false
  104.                   else
  105.                     if rollover(22) then
  106.                       repeat while rollover(22)
  107.                         puppetsprite 26, true
  108.                         set the locH of sprite 26 to 480
  109.                         set the locV of sprite 26 to 331
  110.                         updatestage
  111.                       end repeat
  112.                       set the locH of sprite 26 to 999
  113.                       updatestage
  114.                       puppetsprite 26, false
  115.                     else
  116.                       if rollover(27) then
  117.                         repeat while rollover(27)
  118.                           puppetsprite 28, true
  119.                           set the locH of sprite 28 to 480
  120.                           set the locV of sprite 28 to 358
  121.                           updatestage
  122.                         end repeat
  123.                         set the locH of sprite 28 to 999
  124.                         updatestage
  125.                         puppetsprite 28, false
  126.                       else
  127.                         if rollover(39) then
  128.                           repeat while rollover(39)
  129.                             puppetsprite 43, true
  130.                             set the locH of sprite 43 to 204
  131.                             set the locV of sprite 43 to 345
  132.                             updatestage
  133.                           end repeat
  134.                           set the locH of sprite 43 to 999
  135.                           updatestage
  136.                           puppetsprite 43, false
  137.                         else
  138.                           if rollover(40) then
  139.                             HandCursor
  140.                           else
  141.                             if rollover(41) then
  142.                               HandCursor
  143.                             else
  144.                               if rollover(42) then
  145.                                 HandCursor
  146.                               else
  147.                                 ArrowCursor
  148.                               end if
  149.                             end if
  150.                           end if
  151.                         end if
  152.                       end if
  153.                     end if
  154.                   end if
  155.                 end if
  156.               end if
  157.             end if
  158.           end if
  159.         end if
  160.       end if
  161.     end if
  162.   end if
  163.   RandomQuestion(gQuest)
  164. end
  165.  
  166. on VClothesRollovers2
  167.   set gbeenclicked = 0
  168.   if (not(CheckClickedStatus(gQuest))) then
  169.     if rollover(6) then
  170.       ArrowCursor
  171.       repeat while rollover(6)
  172.         set the locH of sprite 19 to 342
  173.         set the locV of sprite 19 to 275
  174.         updatestage
  175.       end repeat
  176.       set the locH of sprite 19 to 999
  177.       updatestage
  178.     else
  179.       if rollover(8) then
  180.         ArrowCursor
  181.         repeat while rollover(8)
  182.           set the locH of sprite 9 to 498
  183.           set the locV of sprite 9 to 289
  184.           updatestage
  185.         end repeat
  186.         set the locH of sprite 9 to 999
  187.         updatestage
  188.       else
  189.         if rollover(10) then
  190.           ArrowCursor
  191.           repeat while rollover(10)
  192.             set the locH of sprite 11 to 473
  193.             set the locV of sprite 11 to 281
  194.             updatestage
  195.           end repeat
  196.           set the locH of sprite 11 to 999
  197.           updatestage
  198.         else
  199.           if rollover(12) then
  200.             ArrowCursor
  201.             repeat while rollover(12)
  202.               set the locH of sprite 13 to 478
  203.               set the locV of sprite 13 to 337
  204.               updatestage
  205.             end repeat
  206.             set the locH of sprite 13 to 999
  207.             updatestage
  208.           else
  209.             if rollover(14) then
  210.               ArrowCursor
  211.               repeat while rollover(14)
  212.                 set the locH of sprite 15 to 227
  213.                 set the locV of sprite 15 to 322
  214.                 updatestage
  215.               end repeat
  216.               set the locH of sprite 15 to 999
  217.               updatestage
  218.             else
  219.               if rollover(16) then
  220.                 ArrowCursor
  221.                 repeat while rollover(16)
  222.                   set the locH of sprite 17 to 334
  223.                   set the locV of sprite 17 to 247
  224.                   updatestage
  225.                 end repeat
  226.                 set the locH of sprite 17 to 999
  227.                 updatestage
  228.               else
  229.                 if rollover(39) then
  230.                   HandCursor
  231.                 else
  232.                   if rollover(41) then
  233.                     HandCursor
  234.                   else
  235.                     if rollover(42) then
  236.                       HandCursor
  237.                     else
  238.                       ArrowCursor
  239.                     end if
  240.                   end if
  241.                 end if
  242.               end if
  243.             end if
  244.           end if
  245.         end if
  246.       end if
  247.     end if
  248.   end if
  249.   RandomQuestion(gQuest)
  250. end
  251.  
  252.  
  253.  
  254.  
  255.  
  256.